# -*- coding: utf-8 -*-

# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html
import scrapy
from scrapy.pipelines.images import ImagesPipeline
class MeizituPipeline(ImagesPipeline):
	def get_media_requests(self, item, info):
		pic_link = item['picLink']
		print('pic_url'+pic_link)
		yield scrapy.Request(pic_link)


